package com.jt.www.model.woxuebao.toubao;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: cjw
 * @Description: 保险公司信息对象
 * @Date: 20:28 2018/6/6
 */
public class ContextInsuranceCompany implements Serializable {

    /**
     * 保险公司编码  转换
     */
    private String code = "";

    /**
     * 保险公司名称
     */
    private String name = "";

    /**
     * 保险公司承保标记（1主承/2共保）
     */
    private String role1;

    /**
     * 保险公司出单标记（1出单/2跟单）
     */
    private String role2;

    /**
     * 解付保费
     */
    private BigDecimal sharePrem = BigDecimal.ZERO;

    /**
     * 解付比例
     */
    private Float shareRate = new Float(0);

    /**
     * 保险公司返回投保单号
     */
    private String backApplicationFormCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRole1() {
        return role1;
    }

    public void setRole1(String role1) {
        this.role1 = role1;
    }

    public String getRole2() {
        return role2;
    }

    public void setRole2(String role2) {
        this.role2 = role2;
    }

    public BigDecimal getSharePrem() {
        return sharePrem;
    }

    public void setSharePrem(BigDecimal sharePrem) {
        this.sharePrem = sharePrem;
    }

    public Float getShareRate() {
        return shareRate;
    }

    public void setShareRate(Float shareRate) {
        this.shareRate = shareRate;
    }

    public String getBackApplicationFormCode() {
        return backApplicationFormCode;
    }

    public void setBackApplicationFormCode(String backApplicationFormCode) {
        this.backApplicationFormCode = backApplicationFormCode;
    }

    @Override
    public String toString() {
        return "ContextInsuranceCompany{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", role1='" + role1 + '\'' +
                ", role2='" + role2 + '\'' +
                ", sharePrem=" + sharePrem +
                ", shareRate=" + shareRate +
                ", backApplicationFormCode='" + backApplicationFormCode + '\'' +
                '}';
    }
}
